'''
' Class to list tile state enums
'''
class TileState:
    ENEMY_LOCKED, ENEMY, NEUTRAL, FRIENDLY = range(4)

'''
' Class to manage a tile
'''
class Tile(object):    
    def __init__(self, letter='',x=0, y=0, above=None, left=None, below=None, right=None):
        self.letter = letter
        self.x = x
        self.y = y
        self.above = above
        self.left = left
        self.below = below
        self.right = right
        self.state = TileState.NEUTRAL